@layout("/backend/common/_container.html"){
<link rel="stylesheet" type="text/css" href="${ctxPath}/static/backend/sds/sdsqcformitem/style.css">

<div id="qcfitemtabs" class="hisui-tabs tabs-gray" data-options="fit:true,onSelect:SdsQcformItemInfoDlg.changeTabs">
    <div title="项目基本信息" data-options="" style="padding:10px;" id="formItemInfo">
        <form method='post' id="sdsQcformItemInfoForm" name="sdsQcformItemInfoForm" enctype="multipart/form-data">
            <input type="hidden" id="entityId" name="entityId" value=""/>
            <input type="hidden" id="formItemId" name="formItemId" value="0"/>
            <div class="row btn-margin-bottom" style="margin-right: 0px !important;">
                <span class="col-sm-1" style="margin-top:5px;text-align: right">代码</span>
                <div class="col-sm-4">
                    <input class="textbox" id="btCode" name="btCode" type="text">
                </div>
                <span class="col-sm-1" style="margin-top:5px;text-align: right">描述</span>
                <div class="col-sm-4">
                    <input class="textbox" id="btDesc" name="btDesc" type="text">
                </div>
            </div>
            <div class="row btn-margin-bottom" style="margin-right: 0px !important;">
                <span class="col-sm-1" style="margin-top:5px;text-align: right">项目类型</span>
                <div class="col-sm-4">
                    <select class="hisui-combobox textbox" id="btType" name="btType"
                            data-options="editable:false,multiple:false,panelHeight:'auto',selectOnNavigation:false">
                        @for (type in typeMap) {
                        <option value="${type.key}">${type.value}</option>
                        @}
                    </select>
                </div>
                <span class="col-sm-1" style="margin-top:5px;text-align: right">上传类型</span>
                <div class="col-sm-4">
                    <select class="hisui-combobox textbox" id="btUpType" name="btUpType"
                            data-options="editable:false,multiple:false,panelHeight:'auto',selectOnNavigation:false">
                        @for (type in upTypeMap) {
                        <option value="${type.key}">${type.value}</option>
                        @}
                    </select>
                </div>
            </div>
            <div class="row btn-margin-bottom" style="margin-right: 0px !important;">
                <span class="col-sm-1" style="margin-top:5px;text-align: right">指标大类</span>
                <div class="col-sm-4">
                    <input class="textbox" id="btItemCat" name="btItemCat" type="text">
                </div>
                <span class="col-sm-1" style="margin-top:5px;text-align: right">指标小类</span>
                <div class="col-sm-4">
                    <input class="textbox" id="btItemSubCat" name="btItemSubCat" type="text">
                </div>
            </div>
            <div class="row btn-margin-bottom" style="margin-right: 0px !important;">
                <span class="col-sm-1" style="margin-top:5px;text-align: right">质控时机</span>
                <div class="col-sm-4">
                    <select class="hisui-combobox textbox" id="checkTiming" name="checkTiming"
                            data-options="editable:false,multiple:false,panelHeight:'auto',selectOnNavigation:false">
                        @for (tip in tipMap) {
                        <option value="${tip.key}">${tip.value}</option>
                        @}
                    </select>
                </div>
                <span class="col-sm-1" style="margin-top:5px;text-align: right">显示顺序</span>
                <div class="col-sm-4">
                    <input class="textbox" id="btIndNo" name="btIndNo" type="text">
                </div>
            </div>
            <div class="row btn-margin-bottom" style="margin-right: 0px !important;">
                <span class="col-sm-1" style="margin-top:5px;text-align: right">项目备注</span>
                <div class="col-sm-9">
                    <input class="textbox" style="width:95%;" id="btResume" name="btResume" type="text">
                </div>
            </div>
            <div class="row btn-margin-bottom" style="margin-right: 0px !important;">
                <span class="col-sm-1" style="margin-top:5px;text-align: right">前置条件</span>
                <div class="col-sm-9">
                    <input class="textbox" style="width:95%;" id="triggerExp" name="triggerExp" type="text">
                </div>
            </div>
            <div class="row btn-margin-bottom" style="margin-right: 0px !important;">
                <span class="col-sm-1" style="margin-top:5px;text-align: right">质控提示</span>
                <div class="col-sm-9">
                    <input class="textbox" style="width:95%;" id="btTips" name="btTips" type="text">
                </div>
            </div>
            <div class="row btn-margin-bottom" style="margin-right: 0px !important;">
                <span class="col-sm-1" style="margin-top:5px;text-align: right">评分工具</span>
                <div class="col-sm-9">
                    <select class="hisui-combobox textbox" id="asmtLink" name="asmtLink" style="width: 300px"
                            data-options="editable:false,multiple:false,panelHeight:'100',selectOnNavigation:false">
                        @for (asmt in asmtMap) {
                        <option value="${asmt.key}">${asmt.value}</option>
                        @}
                    </select>
                </div>
            </div>
            <div class="row btn-margin-bottom" style="margin-right: 0px !important;">
                <span class="col-sm-1" style="margin-top:10px;text-align: right">是否必填</span>
                <div class="col-sm-4">
                    <input class='hisui-checkbox' id="btIsNeeded" type="checkbox" value="1">
                </div>
                <span class="col-sm-1" style="margin-top:10px;text-align: right">是否有效</span>
                <div class="col-sm-4">
                    <input class='hisui-checkbox' id="btIsActive" type="checkbox" value="1">
                </div>
            </div>
            <div class="toolbar" style="text-align: center;position: absolute;bottom: 10px;left: 50%;transform: translateX(-50%);">
                <#Button name="保存" id="submitButton" icon="icon-w-save" clickFun="SdsQcformItemInfoDlg.addSubmit()"/>
            </div>
        </form>
    </div>
    <div title="项目值域字典" data-options="" style="padding:10px;" id="itemDic">
        @include("/backend/sds/sdsqcformitem/sdsqcfitemdic.html"){}
    </div>
    <div title="项目数据源" data-options="" style="padding:10px;" id="sourceConfig">
        @include("/backend/sds/sdsqcformitem/sdsqcdataconfig.html"){}
    </div>
    <div title="项目合法校验规则" data-options="" style="padding:10px;" id="matchRule">
        @include("/backend/sds/sdsqcformitem/sdsqcfitemmatchrule.html"){}
    </div>
</div>
<script src="${ctxPath}/static/backend/sds/sdsqcformitem/sdsqcformitem_info.js"></script>
@}
